<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="publicStyle/css/bootstrap.css">
<title>Insert title here</title>
</head>
<body>
<center>
<h1>教师任课信息</h1>
<table class="table table-striped table-bordered table-hover table-condensed">

<tr><td>教师编号</td><td>教师姓名</td><td>教师密码</td><td>教师性别</td><td>教师年龄</td><td>任课情况</td></tr>
	<c:forEach begin="0" end="${fn:length(listtea)-1}" step="1" var="i">
	
		<tr><td>${listtea[i].tid}</td><td>${listtea[i].tname}</td><td>${listtea[i].tpassword}</td><td>${listtea[i].tsex}</td><td>${listtea[i].tage}</td><td><a href="${pageContext.request.contextPath }/teacurdetails?tid=${listtea[i].tid}&tname=${listtea[i].tname}">任课详情</a>
		</td></tr>
		
	</c:forEach>
	</table>
	<a href="${pageContext.request.contextPath }/teaselectcur?currPage=1">首页</a>	 <a href="${pageContext.request.contextPath }/teaselectcur?currPage=${pb.currPage-1}">上一页</a> <a href="${pageContext.request.contextPath }/teaselectcur?currPage=${pb.currPage+1}">下一页</a> <a href="${pageContext.request.contextPath }/teaselectcur?currPage=${pb.totalPage}">尾页</a>&nbsp;&nbsp;&nbsp;<a>当前第${pb.currPage }页/总${pb.totalPage}页</a>
	</center>
</body>
</html>